package cn.stylefeng.guns.modular.ha.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 同步发车单信息
 * </p>
 *
 * @author zhangzh
 * @since 2025-08-12
 */
@TableName("ha_api_depart_order")
public class HaApiDepartOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 发车单号
     */
    @TableField("depart_order_id")
    private String departOrderId;

    /**
     * 参数内容
     */
    @TableField("data_json")
    private String dataJson;

    /**
     * api时间
     */
    @TableField("api_tm")
    private Date apiTm;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDepartOrderId() {
        return departOrderId;
    }

    public void setDepartOrderId(String departOrderId) {
        this.departOrderId = departOrderId;
    }

    public String getDataJson() {
        return dataJson;
    }

    public void setDataJson(String dataJson) {
        this.dataJson = dataJson;
    }

    public Date getApiTm() {
        return apiTm;
    }

    public void setApiTm(Date apiTm) {
        this.apiTm = apiTm;
    }

    @Override
    public String toString() {
        return "HaApiDepartOrder{" +
        "id=" + id +
        ", departOrderId=" + departOrderId +
        ", dataJson=" + dataJson +
        ", apiTm=" + apiTm +
        "}";
    }
}
